// [[ OnflowGenerator File UUID: 9ff3f7c548f34c97aa15da17717e3eb3  ]]
package com.itdct.onflow.system.configuration.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.core.vo.KeyLabelValueVo;
import com.itdct.onflow.system.configuration.entity.SysConfigurationEntity;
import com.itdct.onflow.system.configuration.qo.SysConfigurationSearchQo;
import com.itdct.onflow.system.configuration.vo.SysConfigurationDetailVo;
import com.itdct.onflow.system.configuration.vo.SysConfigurationListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author DCTANT
 * @date 2025-09-01 14:24:40
 * @version 1.0
 * @description 系统配置查询工具
 */
@Mapper
public interface SysConfigurationMapper extends BaseMapper<SysConfigurationEntity> {
    @Nullable
    SysConfigurationDetailVo findById(Long id);

    @NotNull
    List<SysConfigurationListVo> findByList(SysConfigurationSearchQo qo);

    // [[ OnflowGenerator Range (- selectFunctions -) Start ]]
    @NotNull
    List<KeyLabelValueVo> selectConfigKeyList(SysConfigurationSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
